local skill = fk.CreateSkill {
  name = "lvshi__zhizhe",
}

Fk:loadTranslationTable{
  ["lvshi__zhizhe"] = "智哲",
  [":lvshi__zhizhe"] = "回合开始时，你可<a href=':lvshi__busuan'>卜算</a>7，且你至多将其中X张牌置于牌堆顶。（X为存活角色数）",
  [":lvshi__busuan"] = "<b><font color=\"#D2042D\">观星小技巧：牌堆底最右边为牌堆底第一张，牌堆顶反之</b>",

  ["$lvshi__zhizhe1"] = "此身抱薪，可付丹鼎，五十四年春秋昭炎汉长明。",
  ["$lvshi__zhizhe2"] = "南征北伐，誓还旧都，二十四代王业不偏安一隅。",
}

skill:addEffect(fk.TurnStart, {
  anim_type = "control",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(skill.name)
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    room:askForGuanxing(player, room:getNCards(7), {0, #room.alive_players})
  end,
})


return skill
